package com.hzsoft.sys.mapper;

import java.util.List;

import com.hzsoft.sys.entity.SysUser;

public interface SysUserMapper {
    int deleteByPrimaryKey(String userId);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);
    
    SysUser selectByUsername(String username);
    
    String selectRolesByUserID(String name, String string);
    
    List<SysUser> listPageUser(SysUser user);
}